<include file="Public:header"/>
<!--广告图切换 start-->
<div class="BannerBox" >
	<div class="BannerList">
		<ul>
            <foreach name="lb" item="vo">
            <li>
				<div class="flashBox"><img src="{$vo['pic']}" width="1920" height="747"/></div>
            </li>
        </foreach>
		</ul>
	</div>
	<div class="hd">
		<ul>
			<li></li><li></li><li></li><li></li><li></li><li></li>
		</ul>
	</div>
</div>
<!--广告图切换 end-->
<div class="homebox">
	<div class="sidebar" style="margin-top:0px;"> 
		<!--插入左侧菜单 start-->
		<div class="menubox">

			<div class="menu_list">
				<ul>
					<li>
						<h2 class="h2_r" name="promenu_one" mclassId="1460">
		                    <b class="up"></b>
		                    <span>产品<samp>分类</samp></span>
		                </h2>
						<dl class="r_dl" style="display: block;">
		                    <foreach name="Mname" item="vo" > 
							<dd>
		                        <span class="d_ico1473"></span>
		                        <a href="{:U('Home/List/index',array(cid=>$vo['id']))}" >{$vo['cname']}</a>
		                    </dd>
		                    </foreach> 
		                </dl>    
					</li>
				</ul>
			</div>
		</div>
		<!--插入左侧菜单 end--> 
	</div>
	<div class="rightside" style="margin-top:0px;margin-left:505px;"> 
		<!--插入右侧菜单 start-->
		<div class="hright_sbox">
			<div class="search_top">
				<form action="{:U('Home/List/index')}" method="get">
					<input type="text" value="" name="keywords"  class="input_txt" placeholder="搜索您想要的">
					<input type="submit"  value="" class="go_btn" >
				</form>
			</div>
		
		</div>
		<!--插入右侧菜单 end-->
	</div>
	<div class="maincontent" style="margin-top:-150px;">
		<div class="prolistbox" style="width:800px;margin-left:-90px;">
			<?php if (empty($finfo)) { ?>
			<div style="margin-left:250px;font-size:20px;margin-top:20px;">对不起没有该产品!!!</div>
				
			<?php } else { ?>
				<ul class="proList">

		        <foreach name="finfo" item="vo" > 
				<li>
					<a name="2058"></a>
					<div class="imgbox" >
						<a mclassid="1477" class="isdetail" productid="2058" rel="go_proinfo" href="{:U('Home/Detail/index',array(fid=>$vo['id'],score=>$vo['score'],cid=>$cid,sellprice=>$vo['sprice']))}">
							<span class="foodsnumber" style="display:none;">{$vo['id']}</span>						
							<img id="imageurl2058" src="{$vo['fpic']}" class="">
							
							
						</a>
					</div>
					<h3 class="pname" style="border-left:1px ;"><a mclassid="1477" productid="2058" id="productName2058" rel="go_proinfo" href="javascript:">{$vo['name']}</a></h3>
					<!-- <h4 class="Appraisal"><span class="star star_Yellow start_{$vo['score'] == 0 ? 5 : $vo['score']}" ></span></h4> -->
					<h5 class="p_prict">
						<span><b>￥{$vo['price']}</b></span>
						<span style="display:none">{$vo['id']}</span><span style="display:none">{$vo['sprice']}</span>
					</h5>
					<h5 class="p_prict" style="margin-top:0px;">
						<span style="text-decoration :line-through">
						<if condition="$vo['issell'] eq 1 ">
							原价&nbsp;&nbsp;{$vo['price']}
						</if>
						</span>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<span>浏览次数&nbsp;&nbsp;{$vo['fnumber']}</span>
					</h5>
				</li>
				</foreach>

			</ul>
			<?php }
			?>
			
		</div>
		<div class="clear"></div>
	</div>
	<div class="clear"></div>
</div>
<span style="display:none" id="islogin">{$islogin}</span>
<include file="Public:footer"/>